{extend name="index/index"}

{block name="weather"}
{/block}

{block name="css/js"}
  <script src="/static/index/js/jquery.min.js"></script>
  <script src="/static/index/js/bootstrap.min.js"></script>
  <script src="/static/index/js/jquery.seat-charts.min.js"></script>
  <link href="/static/index/css/jquery.seat-charts.css" rel="stylesheet">
  <!-- Bootstrap core CSS -->
  <link href="/static/index/css/bootstrap.min.css" rel="stylesheet">
  <script src="/static/index/js/html5shiv.min.js"></script>
  <script src="/static/index/js/respond.min.js"></script>
  <!--myindex.css-->
  <link rel="stylesheet" href="/static/index/css/myindex.css">
{/block}


{block name="main"}
<div class="container">
    <div class="jumbotron">
        <h2>{$filmlist.filmname}</h2>
        <div class="media">
            <div class="media-left">
                <a href="#">
                    <img class="media-object" style="width:200px;height:300px;" src="/uploads/{$filmimg.imgurl}">
                </a>
            </div>
            <div class="media-body">
                <ul>
                    <li>导演 : {$filmlist.duration}</li>
                    <li>主演 : {$filmlist.actor}</li>
                    <li>类型 : {$filmlist.type}</li>
                    <li>制片国家 : {$filmlist.regions}</li>
                    <li>语言 : {$filmlist.language}</li>
                    <li>片长 : {$filmlist.release_time} 分钟</li>
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="container">
    <h3>选座购票</h3>
    <hr>
    <ul class="nav nav-pills">
    {foreach $areainfo as $k => $v}
        <li role="presentation" class='areaname'><a href="{:url('index/movie/index',['cid'=>$k,'filmid'=>$filmlist.id])}">{$v}</a></li>
    {/foreach}
    </ul>
    <div class="container-fluid">
        <ul class="nav nav-pills">
        {foreach $info as $k => $v}
            <li role="presentation"><a href="{:url('index/movie/datechoose', ['addressid'=>$k,'filmid'=>$filmlist.id])}">{$v}</a></li>
        {/foreach}
        </ul>
    </div>
</div>



<script>

</script>

{/block}